//
//  Contents.m
//  QQMV
//
//  Created by 殷殷明静 on 16/8/12.
//  Copyright © 2016年 殷明静. All rights reserved.
//

#import "Contents.h"

@implementation Contents
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"list"]) {
        NSMutableArray<List *> *arr = [NSMutableArray array];
        for ( NSDictionary *dic in value) {
            List *li = [List modelWithDic:dic];
            [arr addObject:li];
        }
        _list_array = arr;
    }
}

@end
